package leetcode.code0097;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution97 implements IDebug {

	public abstract boolean isInterleave(String s1, String s2, String s3);

	@Override
	public void debug1() {
		String s1 = "aabcc";
		String s2 = "dbbca";
		String s3 = "aadbbcbcac";
		boolean e = true;
		boolean r = this.isInterleave(s1, s2, s3);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String s1 = "aabcc";
		String s2 = "dbbca";
		String s3 = "aadbbbaccc";
		boolean e = false;
		boolean r = this.isInterleave(s1, s2, s3);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		String s1 = "";
		String s2 = "";
		String s3 = "";
		boolean e = true;
		boolean r = this.isInterleave(s1, s2, s3);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		String s1 = "bbbbbabbbbabaababaaaabbababbaaabbabbaaabaaaaababbbababbbbbabbbbababbabaabababbbaabababababbbaaababaa";
		String s2 = "babaaaabbababbbabbbbaabaabbaabbbbaabaaabaababaaaabaaabbaaabaaaabaabaabbbbbbbbbbbabaaabbababbabbabaab";
		String s3 = "babbbabbbaaabbababbbbababaabbabaabaaabbbbabbbaaabbbaaaaabbbbaabbaaabababbaaaaaabababbababaababbababbbababbbbaaaabaabbabbaaaaabbabbaaaabbbaabaaabaababaababbaaabbbbbabbbbaabbabaabbbbabaaabbababbabbabbab";
		boolean e = true;
		boolean r = this.isInterleave(s1, s2, s3);
		HelpDebug.compare(e, r);
	}

}
